<!-- @dana Tubeileh

this the exercise page where the reviewer can accept or reject the exercise -->
#{extends 'main.html' /} #{set title:'Home' /}
<body bgcolor="#CCEEFF">
	<h1>
		<i> <marquee bgcolor="#cccccc" loop="-1" scrollamount="2"
				width="100%">My Exercise's Questions</marquee>
		</i>
	</h1>

	#{list items:questions, as:'qList'}




	<ul>
		<u><li><h1>
				<b><i>${qList.theQuestion}</i></b>
			</h1></li></u>
	</ul>

	#{list items:qList.myChoices, as:'listchoices'}
	<li><h3>
			<ol>
				<font size="4" color="blue">${listchoices.choice}</font>
			</ol>
		</h3></li> #{/list} #{/list}


	<form action="@{ReviewRequests.publishExercise()}" method="GET">
		<button name="accept" type="submit" value="${open}">accept</button>

	</form>

	<form action="@{ReviewRequests.RejectExercise()}" method="GET">
		<button name="reject" type="submit" value="${open}">reject</button>
	</form>
</body>


